package org.study.bookmanager.service;

import org.springframework.security.core.userdetails.UserDetails;
import org.study.bookmanager.io.request.Borrow.AddBorrowReq;
import org.study.bookmanager.io.request.PageReq;

public interface BorrowService {
    Object addBorrow(UserDetails details, AddBorrowReq req);

    Object returnBorrow(int Id);

    Object getBorrows(UserDetails details, PageReq pageReq);

    Object getBorrow(int Id);

    Object updateBorrow(int Id);
}
